﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title; ?></title>
<base href="<?php echo $base; ?>" />
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
<?php if ($keywords) { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?>
<?php if ($icon) { ?>
<link href="<?php echo $icon; ?>" rel="icon" />
<?php } ?>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/slideshow.css" media="screen" />
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/carousel.css" media="screen" />
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheet.css" />
<link rel="stylesheet" type="text/css" href="catalog/view/theme/high/css/reset.css"/>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/high/css/style.css"/>
<script type="text/javascript" src="catalog/view/javascript/jquery/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jquery/ui/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jquery/tabs.js"></script>
<script type="text/javascript" src="catalog/view/javascript/common.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jquery/nivo-slider/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jquery/jquery.jcarousel.min.js"></script>
<style>
            .box{
				width:100%;
                position:relative;
				
            }
            .box h2{
				color:#f0f0f0;
				padding:40px 10px;
				text-shadow:1px 1px 1px #ccc;
            }
			.news{ border:#CCC 1px solid; padding:5px;}
			.news ul{ margin-left:3px;}
			.news h1{ font-size:14px; margin:5px; border-bottom:#CCC 1px solid;}
			.news ul li{ float:left; width:191px;}
        </style>
</head>

<body>
<div class="page">
 <div class="header">
  <div class="logo"><a href="#"><img src="catalog/view/theme/high/img/LOGO.jpg" width="222" height="62" /></a></div>
  <div class="site">
  <a href="<?php echo $home; ?>"><?php echo $text_home; ?></a>| 
  <a href="<?php echo $wishlist; ?>" id="wishlist-total"><?php echo $text_wishlist; ?></a>| 
  <a href="<?php echo $account; ?>"><?php echo $text_account; ?></a>| 
  <a href="<?php echo $shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a>| 
  <a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a><br />

     
   <div class="str">
    <ul>
	<?php if (!$logged) { ?>
    <?php echo $text_welcome; ?>
    <?php } else { ?>
    <?php echo $text_logged; ?>
    <?php } ?>
      <li><a href="<?php echo $shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a></li>
    </ul>
   </div>
  </div>
 </div>

 <div class="box rel">
  <?php if ($categories) { ?>
  <ul id="ldd_menu" class="ldd_menu">
				
				
	
	<?php foreach ($categories as $category) { ?>
	<li>
					<span><?php echo $category['name']; ?></span><!-- Increases to 510px in width-->
					 <?php if ($category['children']) { ?>
					<div class="ldd_submenu">
						<ul>
						<?php for ($i = 0; $i < count($category['children']);) { ?>
						<?php $j = $i + ceil(count($category['children']) / $category['column']); ?>
					  <?php for (; $i < $j; $i++) { ?>
					  <?php if (isset($category['children'][$i])) { ?>
						 <li><a href="<?php echo $category['children'][$i]['href']; ?>"><?php echo $category['children'][$i]['name']; ?></a></li>
							<?php } ?>
							<?php } ?>
						</ul>
						<?php } ?>
					</div>
                     <?php } ?>
		</li>
					<?php } ?>
		
                
                

</ul>
<?php } ?>

 <div class="more">
 
 <?php if ($filter_name) { ?>
    <input type="text" name="filter_name" value="<?php echo $filter_name; ?>" />
    <?php } else { ?>
    <input type="text" name="filter_name" value="<?php echo $text_search; ?>" onclick="this.value = '';" onkeydown="this.style.color = '#000000';" />
    <?php } ?>
   <span style='width:20px;cursor: pointer;' class="button-search">搜索</span>
   </div>
</br>
<!--
   <div class="tab"><strong>热门分类</strong>: <a href="#">连衣裙</a> <a href="#">T恤</a> <a href="#">打底衫</a></div>
-->

   <!--header end-->
   
   
  
